<script type="text/javascript">
$(function(){  
  
  // 快选(号码)按钮 - 对对 / 一般 号码
  $("td#divBtnQuick01 span").click(function(){
    var addVal = $(this).index();
    var addStr = "";
    switch(addVal){
      case 0:
      addStr = "00,11,22,33,44,55,66,77,88,99";
      break;
      case 1:
      addStr = "01,02,03,04,05,06,07,08,09,10,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98";
      break;
    }
    $("td#divBtnQuick01 input#iptQuick01Val").val(addStr);  // 暂存点选号码
    $("td#divBtnQuick01 span").removeClass("btnchoiced").addClass("btnchoice");
    $(this).removeClass("btnchoice").addClass("btnchoiced");
  });
  
  // + - 动作按钮 (根据快选号码)
  $("td#divBtnAddVal input:button[class^=btn]").click(function(){
    var myVal = $("td#divBtnQuick01 input#iptQuick01Val").val();
    var mp = "";
    var typeVal = "";
    if(myVal != ""){
      mp = $(this).attr("class").substr(3,1);
      typeVal = $("div#chgBtnGroup input[class=btnchoiced]").attr("id").substr(4);
      $("form#frmMenu input#actionNum").val(myVal);         // 资料转移
      $("form#frmMenu input#actionBettype").val(typeVal); // 资料设定
      $("form#frmMenu input#actionMP").val(mp);             // 资料转移
      $().setRateByXML(); // 更新赔率
    }else{
      alert('请先选择快选号码');
    }
  });
  
});
function ClearQuick01Val(){
  document.getElementById('iptQuick01Val').value='';
}
</script>
<div id="chgBtnGroup">
<input type="button" id="chgr14" class="btnchoice" value="佰拾定位OOX" />
<input type="button" id="chgr15" class="btnchoice" value="佰个定位OXO" />
<input type="button" id="chgr16" class="btnchoice" value="拾个定位XOO" />
</div>

<input type="hidden" value="chgr14" id="chgrType" />

<div id="r2pMsg"class="row1">资料下载中...</div>


<table class="table_3d" cellpadding="0" cellspacing="1" width="100%" id="tblr14">
<caption class="td0">佰拾定位</caption>
<thead><tr class="td15">
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
</tr></thead>
<tbody id="tbdr14">
<tr class="td2" align="right"><td class="row1" colspan="35" >资料下载中...</td></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
</tbody>
<tfoot id="tft14">
<tr class="td6" align="right"><th class="td0" colspan="29">佰拾定位合计</th><td>0</td><td>0</td><td>--</td><td>--</td><td>--</td><td>--</td></tr>
</tfoot>
</table>

<table class="table_3d" cellpadding="0" cellspacing="1" width="100%" id="tblr15">
<caption class="td0">佰拾定位</caption>
<thead><tr class="td15">
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
</tr></thead>
<tbody id="tbdr15">
<tr class="td2" align="right"><td class="row1" colspan="35" >资料下载中...</td></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
</tbody>      
<tfoot id="tft15">
<tr class="td6" align="right"><th class="td0" colspan="29">佰拾定位合计</th><td>0</td><td>0</td><td>--</td><td>--</td><td>--</td><td>--</td></tr>
</tfoot>
</table>


<table class="table_3d" cellpadding="0" cellspacing="1" width="100%" id="tblr16">
<caption class="td0">拾个定位</caption>
<thead><tr class="td15">
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
<th>号码</th><th>笔数</th><th>金额</th><th>输赢</th><th>补货</th><th>赔率</th><th>操盘</th>
</tr></thead>
<tbody id="tbdr16">
<tr class="td2" align="right"><td class="row1" colspan="35" >资料下载中...</td></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
<tr class="td2" align="right"></tr>
</tbody>
<tfoot id="tft16">
<tr class="td6" align="right"><th class="td0" colspan="29">拾个定位合计</th><td>0</td><td>0</td><td>--</td><td>--</td><td>--</td><td>--</td></tr>
</tfoot>
</table>




<table width="950" border=0 cellpadding=5 cellspacing=0>
<tr valign="top">
<td>
  <div id=div0></div>
  <table width="100%" border=0 cellpadding=5 cellspacing=0>
  <tr>
  <td width="50%" id="divBtnQuick01">快选 
  <span class="btnchoice">对对号码</span>
  <span class="btnchoice">一般号码</span>
  <input type="text" value="" id="iptQuick01Val" size="40" />
  <input type="button" id="btnClear" value="清除" onclick="javascript:ClearQuick01Val()"/>
  </td>
  <td width="50%" id="divBtnAddVal">增量 
  <span class="btnchoice">5</span>
  <span class="btnchoice">4</span>
  <span class="btnchoice">3</span>
  <span class="btnchoice">2</span>
  <span class="btnchoice">1</span>
  <span class="btnchoiced">0.5</span>
  <span class="btnchoice">0.4</span>
  <span class="btnchoice">0.3</span>
  <span class="btnchoice">0.2</span>
  <span class="btnchoice">0.1</span>
  <span class="btnchoice">0.05</span>
  <span class="btnchoice">0.02</span>
  <span class="btnchoice">0.01</span>
  &#12288;动作 
  <input type="button" value="-" class="btnmin">
  <input type="button" value="&Phi;" class="btnplus">
  </td>
  </tr>
  
  <tr>
  <td>补货赔率：
  <input name="bo1" id="bo1" value="42" size=3>
  &#12288;最大输值：
  <input name="bo2" id="bo2" value="-200000" size="8">&#12288;
  <input type="button" value="补货计算" id="btnCountBo" />
  &#12288;&#12288;&#12288;&#12288;&#12288;&#12288;
  </td>
  <td></td>
  </tr>
  
  </table>
</td>
</tr>
</table>   